package io.wit.modules.wit.service;

import io.wit.modules.wit.entity.IntegralEntity;

import java.util.List;
import java.util.Map;

/**
 * 积分管理
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-01-02 14:45:16
 */
public interface IntegralService {
	
	IntegralEntity queryObject(Long dataId);
	
	List<IntegralEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(IntegralEntity integral);
	
	void update(IntegralEntity integral);
	
	void delete(Long dataId);
	
	void deleteBatch(Long[] dataIds);

	List<IntegralEntity> integralList();
}
